
function fileImg() {

    const file = $('#exampleInputFile')[0].files[0];
    console.log(file);
    const formdata = new FormData();
    console.log(formdata);
    const url = URL.createObjectURL(file);
    console.log(url);
    $('#new_userPic').prop('src', url)
    $.ajax({
        type: "method",
        url: "url",
        data: "data",
        dataType: "dataType",
        success: function (response) {

        }
    });
};
